package com.fourhats.dao;

import java.util.Date;
import java.util.List;

import com.fourhats.model.ProductBuyed;

public interface ProductBuyedDAO extends GenericDAO<ProductBuyed, Long> {
	
	List<ProductBuyed> getPurchasedProducts(long userId);
	
	List<ProductBuyed> getSoldProducts(long userId);

	List<ProductBuyed> getSoldProductsSince(long userId, Date date);
}
